﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;

namespace App.Views.ViewModels
{
    public class FarewellViewModel : UCServicesItemListSelectViewModel
    {
        [Required(ErrorMessage = "*")]
        [DisplayName("死者编号")]
        public string DeadNO { get; set; }

        [Required(ErrorMessage="*")]
        [DisplayName("告别编号")]
        public string FarewellNO{get;set;}

        [Required(ErrorMessage = "*")]
        [DisplayName("编号")]
        public string ServiceNo{get;set;}

        [Required(ErrorMessage = "*")]
        [DisplayName("开始时间")]
        public DateTime UseTime { get; set; }

        [Required(ErrorMessage = "*")]
        [DisplayName("费用合计")]
        public decimal? Totals { get; set; }

    }
}